package com.dyna.foundation.domain.resp;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@ApiModel(value = "管理后台 - 租户 Response")
@Data
@NoArgsConstructor
public class SysTenantResp {

    public SysTenantResp(Long id, String name) {
        this.id = id;
        this.name = name;
    }

    @ApiModelProperty(value = "租户编号")
    private Long id;

    @ApiModelProperty(value = "租户名")
    private String name;

    @ApiModelProperty(value = "联系人")
    private String contactName;

    @ApiModelProperty(value = "联系手机")
    private String contactMobile;

    @ApiModelProperty(value = "租户状态")
    private Integer status;

    @ApiModelProperty(value = "绑定域名")
    private String website;

    @ApiModelProperty(value = "租户套餐编号")
    private Long packageId;

    @ApiModelProperty(value = "过期时间")
    private LocalDateTime expireTime;

    @ApiModelProperty(value = "账号数量")
    private Integer accountCount;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

}
